package demo4;

import demo3.Base;

public class Son1 extends Base {

    public Son1() {
    }

    public Son1(int a, int b) {
        super(a, b);
    }

    public static void main(String[] args) {
        Son1 son1 = new Son1();
        son1.b = 18;
        Son son = new Son();
        //son.b = 18;报错了
    }
}
